<template>
	<view style="position: fixed;left: 0;right: 0;margin: 0 auto;top: 300rpx;text-align: center;">
		<view>
			
			<!-- http://7n.gl.file.91golf.com/8184abd833ce4f8e93a63c4bcdb7d385.png -->
			<image src="http://7n.gl.file.91golf.com/ec831aac43f0411a97a9429b8ad81522.png" mode="widthFix" style="width: 600rpx;"></image>
		</view>
		<u-loading mode="circle"></u-loading>
	</view>
</template>

<script>
	const app = getApp();
	export default {
		data() {
			return {
				option: {}
			}
		},
		onLoad(option) {
			this.option = option;
		},
		onShow() {
			let option = this.option
			console.log("``````````````````````````````````````````````", option)
			uni.$once("loginSuccess", () => {
				uni.redirectTo({
					url: "/pages/custom-tab-bar/custom-tab-bar"
				})
			});
			app.applogin(option.userId);
			uni.setStorageSync("shareUserId",option.userId);
		},
		methods: {

		}
	}
</script>

<style>

</style>
